libxl: use libxl__xs_path_cleanup on device_destroy
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 26 Jul 2012 09:35:32 +0000 (10:35 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Thu, 26 Jul 2012 09:35:32 +0000 (10:35 +0100)
commit784528b67d0f7bfb2485f53b4424dd6d2ac72d51
treecd3c29a1967c2a1e4a2ecd0f273109750cbdb333
parent2621f73e49c1b91c1064c8b7d5738fe3e36cdc56
libxl: use libxl__xs_path_cleanup on device_destroy

Since the hotplug script that was in charge of cleaning the backend is
no longer launched, we need to clean the backend by ourselves, so use
libxl__xs_path_cleanup instead of xs_rm.

Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_device.c